Skip to content

Instantly share code, notes, and snippets.

@brainwo
brainwo / youtubeemoji.csv
Created June 23, 2024 02:46
YouTube Live Chat Emoji
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
"Emoji label","Src"
":hand-pink-waving:","https://yt3.ggpht.com/KOxdr_z3A5h1Gb7kqnxqOCnbZrBmxI2B_tRQ453BhTWUhYAlpg5ZP8IKEBkcvRoY8grY91Q=w24-h24-c-k-nd"
":face-blue-smiling:","https://yt3.ggpht.com/cktIaPxFwnrPwn-alHvnvedHLUJwbHi8HCK3AgbHpphrMAW99qw0bDfxuZagSY5ieE9BBrA=w24-h24-c-k-nd"
":face-red-droopy-eyes:","https://yt3.ggpht.com/oih9s26MOYPWC_uL6tgaeOlXSGBv8MMoDrWzBt-80nEiVSL9nClgnuzUAKqkU9_TWygF6CI=w24-h24-c-k-nd"
":face-purple-crying:","https://yt3.ggpht.com/g6_km98AfdHbN43gvEuNdZ2I07MmzVpArLwEvNBwwPqpZYzszqhRzU_DXALl11TchX5_xFE=w24-h24-c-k-nd"
":text-green-game-over:","https://yt3.ggpht.com/cr36FHhSiMAJUSpO9XzjbOgxhtrdJNTVJUlMJeOOfLOFzKleAKT2SEkZwbqihBqfTXYCIg=w24-h24-c-k-nd"
":person-turqouise-waving:","https://yt3.ggpht.com/uNSzQ2M106OC1L3VGzrOsGNjopboOv-m1bnZKFGuh0DxcceSpYHhYbuyggcgnYyaF3o-AQ=w24-h24-c-k-nd"
":face-green-smiling:","https://yt3.ggpht.com/G061SAfXg2bmG1ZXbJsJzQJpN8qEf_W3f5cb5nwzBYIV58IpPf6H90lElDl85iti3HgoL3o=w24-h24-c-k-nd"
":face-orange-frowning:","https://yt3.ggpht.com/Ar8jaEIxzfiyYm

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@yancyn
yancyn / git-svn.md
Last active November 5, 2026 17:19
Migrate Archive Google Code SVN to Git

Migrate Archive Google Code SVN to Git

Requirements

  • git
  • git-svn

Setup¹

$ sudo apt-get install git
$ sudo add-apt-repository ppa:git-core/ppa
@gdamjan
gdamjan / zz-update-systemd-boot
Last active November 5, 2026 17:19
kernel postinstall script to update systemd-boot on debian/ubuntu
#!/bin/bash
#
# /etc/kernel/postinst.d/zz-update-systemd-boot
# 0755 root:root
#
# This is a simple kernel hook to populate the systemd-boot entries
# whenever kernels are added or removed.
#
set -euo pipefail
@kanylbullen
kanylbullen / oneplus7pro-nethunter-monitor-injection.md
Last active November 5, 2026 17:18
OnePlus 7 Pro: internal-chip WiFi monitor mode AND packet injection with Kali NetHunter 2026.2 + LineageOS 23.2 (no external USB adapter)

OnePlus 7 Pro — Internal-chip monitor mode and packet injection with Kali NetHunter 2026.2 + LineageOS 23.2

A complete, reproducible walkthrough for getting both monitor mode and working packet injection out of the OnePlus 7 Pro's built-in WiFi chip (Qualcomm WCN3998, qcacld-3.0 driver) — no external USB adapter required.

This matters because the long-running XDA thread for official Kali NetHunter on the OnePlus 7 / 7 Pro has, for years, reported that the internal chip does monitor mode but injection never worked on it — the question came up repeatedly (most recently Feb 2026) with no solution, and Kali's own wireless-card docs state the same limitation. On the combination

@markknol
markknol / shadertoy.md
Last active November 5, 2026 17:12
Shader cheatsheet (from shadertoy)

This help only covers the parts of GLSL ES that are relevant for Shadertoy. For the complete specification please have a look at GLSL ES specification

Language:

Version: WebGL 2.0
Arithmetic: ( ) + - ! * / %
Logical/Relatonal: ~ < > <= >= == != && ||
Bit Operators: & ^ | << >>
Comments: // /* */
Types: void bool int uint float vec2 vec3 vec4 bvec2 bvec3 bvec4 ivec2 ivec3 ivec4 uvec2 uvec3 uvec4 mat2 mat3 mat4 mat?x? sampler2D, sampler3D samplerCube
Format: float a = 1.0; int b = 1; uint i = 1U; int i = 0x1;

@mretegan
mretegan / mep.py
Last active November 5, 2026 17:08
Create a .cube file of the molecular electrostatic potential using ORCA.
"""
(c) 2013, 2019, 2022 Marius Retegan
License: BSD-2-Clause
Description: Create a .cube file of the molecular electrostatic
potential (MEP) using ORCA.
Run: python mep.py basename npoints nprocs (e.g. python mep.py water 40 2).
Arguments: basename - file name without the extension;
this should be the same for the .gbw and .scfp.
npoints - number of grid points per side
(80 should be fine)
@aoxborrow
aoxborrow / README.md
Last active November 5, 2026 17:07
Multiple Claude Desktop instances on macOS — color-coded, no-duplicate launchers (personal + work accounts)

Multiple Claude Desktop instances on macOS — with color-coded, no-duplicate launchers

Run two (or more) fully isolated Claude Desktop instances side by side on macOS — e.g. one signed into your personal account and one into your work account — each with its own color-coded Dock launcher that focuses the existing window instead of spawning duplicates.

This builds on Philipp Stracker's excellent --user-data-dir approach (write-up) and adds two things:

@fawazahmed0
fawazahmed0 / breach.txt
Last active November 5, 2026 16:54
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce